package com.work.dyduser.utils;

import android.widget.ProgressBar;

/**
 * @author WZ 2016/2/4 设置进度条的进度
 *
 */
public class SetProgressLength {
	public ProgressBar progressbar;

	public SetProgressLength(ProgressBar progressbar) {
		this.progressbar = progressbar;
	}

	public void setProgressLength(int max, int progress) {
		progressbar.setMax(max);
		progressbar.setProgress(progress);
	}
}
